package cn.bgs.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Lian {

  private Integer id;
  private String name;
  private String gender;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date birthday;
  private String tupian;
  private String password;

  @Override
  public String toString() {
    return "Lian{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", gender='" + gender + '\'' +
            ", birthday=" + birthday +
            ", tupian='" + tupian + '\'' +
            ", password='" + password + '\'' +
            '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getGender() {
    return gender;
  }

  public void setGender(String gender) {
    this.gender = gender;
  }

  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }

  public String getTupian() {
    return tupian;
  }

  public void setTupian(String tupian) {
    this.tupian = tupian;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }
}
